package com.example.feitiansys.controller;

import com.example.feitiansys.service.user.SysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class SysUserController {

    @Autowired
    private SysUserService sysUserService;
    @RequestMapping("/getuserbyid")
    @ResponseBody
    public Object getuserbyid(Integer id){
        return sysUserService.queryById(id);
    }

}
